package com.yh.patterns.facade;

/**
 * @Auther:云尚学Java
 */
public class Client {
    public static void main(String[] args) {
        //创建智能音响对象
        SmartAppliancesFacade facade=new SmartAppliancesFacade();
        //控制家电
        facade.say("打开家电");
        System.out.println("======");
        facade.say("关闭家电");
    }

}
